﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using WeChat.PlatForm.Entity;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace WeChat.PlatForm.DataAccess.Configs
{
    public class UserConfig : IEntityTypeConfiguration<UserEntity>
    {
        public void Configure(EntityTypeBuilder<UserEntity> builder)
        {
            //指定数据库中的表
            builder.ToTable("T_USER");
        }
    }
}
